# -*- coding: utf-8 -*-
# file: common.py
# @Author: zlw

import time
from conf.settings import LOG_PATH


def logger(msg):
    with open(LOG_PATH, mode='at', encoding='utf-8')as f:
        f.write(f'{time.strftime("%Y-%m-%d %H:%M:%S")} {msg}\n')
